home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / exec / resident.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  1KB  |  46 lines

  1. #ifndef    EXEC_RESIDENT_H
  2. #define    EXEC_RESIDENT_H
  3. /*
  4. **    $Filename: exec/resident.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 36.8 $
  7. **    $Date: 90/11/01 $
  8. **
  9. **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include "exec/types.h"
  17. #endif /* EXEC_TYPES_H */
  18.  
  19.  
  20. struct Resident {
  21.     UWORD rt_MatchWord;    /* word to match on (ILLEGAL)    */
  22.     struct Resident *rt_MatchTag; /* pointer to the above    */
  23.     APTR  rt_EndSkip;        /* address to continue scan    */
  24.     UBYTE rt_Flags;        /* various tag flags        */
  25.     UBYTE rt_Version;        /* release version number    */
  26.     UBYTE rt_Type;        /* type of module (NT_XXXXXX)    */
  27.     BYTE  rt_Pri;        /* initialization priority */
  28.     char  *rt_Name;        /* pointer to node name    */
  29.     char  *rt_IdString;    /* pointer to identification string */
  30.     APTR  rt_Init;        /* pointer to init code    */
  31. };
  32.  
  33. #define RTC_MATCHWORD    0x4AFC    /* The 68000 "ILLEGAL" instruction */
  34.  
  35. #define RTF_AUTOINIT    (1<<7)    /* rt_Init points to data structure */
  36. #define RTF_AFTERDOS    (1<<2)
  37. #define RTF_SINGLETASK    (1<<1)
  38. #define RTF_COLDSTART    (1<<0)
  39.  
  40. /* Compatibility: (obsolete) */
  41. /* #define RTM_WHEN       3 */
  42. #define RTW_NEVER    0
  43. #define RTW_COLDSTART    1
  44.  
  45. #endif    /* EXEC_RESIDENT_H */
  46.